/**
 * 
 */
package pl.kaczanowscy.tomek.ipdl.strategy;

import pl.kaczanowscy.tomek.ipdl.RoundResult;
import pl.kaczanowscy.tomek.ipdl.Strategy;
import pl.kaczanowscy.tomek.ipdl.enums.Move;

/**
 * ALLC - always cooperate.
 * 
 * @author Tomek Kaczanowski
 * 
 */
public final class ALLC implements Strategy {

	/**
	 * Always returns {@link Move#COOPERATION}.
	 * 
	 * @see pl.kaczanowscy.tomek.ipdl.Strategy#getMove()
	 */
	@Override
	public Move getMove() {
		return Move.COOPERATION;
	}

	/**
	 * ALLC does not care about the results of the last round.
	 * 
	 * @see pl.kaczanowscy.tomek.ipdl.RoundListener#roundEnded(pl.kaczanowscy.tomek.ipdl.RoundResult)
	 */
	@Override
	public void roundEnded(RoundResult result) {
		// ALLC doesn't care
	}

}
